package com.dc.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 巡检点位表
 *
 * @author feishaobin
 * @email
 * @date 2021-12-24 10:36:42
 */
@Data
@ApiModel
@TableName("dc_inspection_position")
public class InspectionPosition implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    @ApiModelProperty(value = "")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 巡检区域id
     */
    @ApiModelProperty(value = "巡检区域id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long regionId;
    /**
     * 巡检区域
     */
    @ApiModelProperty(value = "巡检区域")
    private String regionName;
    /**
     * 巡检点位名称
     */
    @ApiModelProperty(value = "巡检点位名称")
    private String name;
    /**
     * 点位位置
     */
    @ApiModelProperty(value = "点位位置")
    private String address;
    /**
     * 巡检备注
     */
    @ApiModelProperty(value = "巡检备注")
    private String remark;
    /**
     * 二维码id
     */
    @ApiModelProperty(value = "二维码id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long qrId;
    /**
     * 二维码url
     */
    @ApiModelProperty(value = "二维码url")
    private String path;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}
